import Layout from "@/layout";

export default {
  path: "/class",
  component: Layout,
  redirect: "/class/class",
  name: "class",
  meta: {
    title: "班级管理",
    icon: "nested",
  },
  children: [
    {
      path: "class",
      component: () => import("@/views/class/class"),
      name: "class:class",
      meta: { title: "班级信息", icon: "el-icon-document-remove" },
    },
    {
      path: "student",
      component: () => import("@/views/class/student"),
      name: "class:student",
      meta: { title: "学生信息", icon: "el-icon-document-remove" },
    },
  ],
}